package com.yj.ccs.abs.web.management.dto;

import com.yj.ccs.abs.common.enums.CompanyNatureType;
import com.yj.ccs.abs.web.common.entity.Attachment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/16
 * Author     : Unbelievable9
 **/
@Data
public class UpdateCompanyDto {

    @NotNull(message = "公司ID不能为空")
    @ApiModelProperty(value = "公司ID", required = true, example = "1")
    private Long id;

    @NotNull(message = "公司名称不能为空")
    @ApiModelProperty(value = "公司名称", required = true, example = "测试1号账务公司")
    private String name;

    @ApiModelProperty(value = "公司简称", example = "测1账")
    private String short_name;

    @ApiModelProperty(value = "区县编号不能为空", example = "110102")
    private String area_code;

    @ApiModelProperty(value = "详细地址", example = "北京市西城区宣武门外大街甲1号")
    private String address;

    @ApiModelProperty(value = "所属行业", example = "互联网")
    private String industry;

    @ApiModelProperty(value = "企业性质<br>1-国企<br>2-民企<br>3-国企(上市)<br>4-民企(上市)", example = "STATE_OWNED")
    private CompanyNatureType nature;

    @ApiModelProperty(value = "法人代表", example = "赵圈羊")
    private String representative;

    @ApiModelProperty(value = "营业执照")
    private List<Attachment> license;
}
